package com.cq.hd.member.api.dto;

import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotBlank;
import javax.validation.constraints.NotNull;
import java.io.Serializable;
import java.math.BigDecimal;

@Data
public class MemberFeeConfigSaveDto implements Serializable {

    @NotBlank(message = "套餐名称不能为空")
    @ApiModelProperty(value = "套餐名称")
    private String memberName;

    @NotNull(message = "套餐费用不能为空")
    @ApiModelProperty(value = "套餐费用")
    private BigDecimal memberFee;

//    @NotNull(message = "划线价格不能为空")
//    @ApiModelProperty(value = "划线价格")
    private BigDecimal originFee;

    @NotNull(message = "活动发布次数不能为空")
    @ApiModelProperty(value = "活动发布次数")
    private Integer activeCount;

    @NotNull(message = "有效期不能为空")
    @ApiModelProperty(value = "有效期(月)")
    private Integer validMonth;

    @NotNull(message = "排序不能为空")
    @ApiModelProperty(value = "排序")
    private Integer sort;

    @ApiModelProperty(value = "会员类型：1商场版 2商户版")
    private Integer memberType;

    @ApiModelProperty(value = "最多可邀请经纪人数量(累计)。null表示不限制")
    private Integer maxInviteAgentCount;

    @ApiModelProperty(value = "单活动商户数（一个活动最多引用几个商户的产品）。null表示不限制")
    private Integer singleActiveMerchantCount;
}
